Firestore index
クエリを発行すると、indexが必要とメッセージがでるので、そこから作る。
Create a missing index through an error message  |  Firebase
FailedPrecondition: 400 The query requires a COLLECTION_GROUP_ASC index for collection cards and field ctype. You can create it here: https://console.firebase.google.com/v1/r/project/xxx/firestore/indexes?create_exemption=xxx
みたいにmessageがでる
Cloud Firestore でのインデックス管理  |  Firebase
Cloud Firestore のインデックスの種類  |  Firebase
複合クエリなどで indexを作成する必要がある?
#Firestore